class UrlMappings {

	static mappings = {
		"/$controller/$action?/$id?"{
			constraints {
				// apply constraints here
			}
		}
		
		"/facebook/de"(controller:"view"){action=[GET:"superSternFaceBookstartPage"]}
		"/view"(controller:"view"){action=[GET:"startPage"]}
		"/testus"(controller:"view"){action=[GET:"startPage2"]}
		
		//deprecated
		/*"/pred/$language/month"(controller:"view"){action=[GET:"generateFirstPageMonth"]}
		"/pred/$language/month/$month/$sign"(controller:"view"){action=[GET:"generateMonth"]}
		"/pred/$language"(controller:"view"){action=[GET:"generateFirstPageMonth"]}
		"/pred/$language/$month/$sign"(controller:"view"){action=[GET:"generateMonth"]}*/
		// deprecated
		
		"/$language/$month/$sign"(controller:"view"){action=[GET:"generateMonth"]}
		"/$language/"(controller:"view"){action=[GET:"generateFirstPageMonth"]}
		"/"(controller:"view"){action=[GET:"startPage"]}
		"/pred"(controller:"view"){action=[GET:"startPageRedirect"]}
		"500"(view:'/error')
		//"404"(controller:"view",action="fileNotFoundPage")
		"404"(view:'/view/fileNotFoundPage')
	}
}
